Previous Book Contents Book Index Next

Inside Macintosh: AppleScript Scripting Additions Guide /
Appendix A - Scripting Additions at a Glance


Placeholders

Table A-2 explains the placeholders used in the syntax descriptions in
this appendix.
Table A-2: Placeholders used in syntax descriptions
PlaceholderExplanation
BooleanAn expression that evaluates to true or false.
buttonListA list of strings, each of which represents a button in a dialog box. The maximum number of characters
in each string is 255. You can specify up to three buttons.
classNameA class identifier or an expression that evaluates to an object class identifier.
dataToWriteData of an appropriate type to be written to a specified file.
delimitersString or constant specifying a delimiter, or a two-item list of strings or constants.
dialogStringA string of up to 255 characters.
folderOrApplicationOne of these constants: apple menu, apple menu items, control panels, desktop, extensions, preferences, printmonitor, printmonitor documents, trash, startup items, system folder, temporary items, startup disk, frontmost application.
integerAn expression that evaluates to an integer.
listOfParametersA list of parameters to be passed to the target's
Run handler.
listOfTypesA list of strings, each of which is a four-character file type code that identifies a particular type, such as "TEXT", "APPL", "PICT", or "PNTG".
 
nameStringA string of the form "Disk:Folder1:Folder2:...:Filename".
numberAn expression that evaluates to an integer or
real number.
referenceOrStringA reference of the form file nameString or alias nameString, or a string that consists of a valid script.
referenceToApplicationA reference of the form application "Disk:Folder1:Folder2:...:ApplicationName".
referenceToFileA reference of the form file nameString or
alias nameString.
referenceToFolderA reference of the form file nameString, alias nameString, or folder nameString that specifies a folder or an alias to a folder.
scriptObjectVariableA variable whose value is a script object.
scriptingComponentA string that consists of the name of a scripting component.
stringAn expression that evaluates to a string.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
18 DEC 1996